package com.sxhalo.fsms.mapper;

import com.sxhalo.fsms.domain.MotorRunningData;
import com.sxhalo.fsms.domain.MotorRunningDataKey;

import com.sxhalo.fsms.domain.RedisData;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface MotorRunningDataMapper {
    int deleteByPrimaryKey(MotorRunningDataKey key);

    int insert(MotorRunningData record);

    int insertSelective(MotorRunningData record);

    MotorRunningData selectByPrimaryKey(MotorRunningDataKey key);

    int updateByPrimaryKeySelective(MotorRunningData record);

    int updateByPrimaryKey(MotorRunningData record);

     Integer batchSave(@Param("list") List<RedisData> list);
}